package yongxin.entity.process;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 工序汇报流程
 * @author zhangdaihao
 * @date 2015-02-05 14:03:49
 * @version V1.0   
 *
 */
@SuppressWarnings("serial")
public class ProcessLineJsonEntity implements java.io.Serializable {
	
	/*
	 * 
	 * jsondata={
		title:"aaa",
		nodes:{
			demo_node_1:{name:"任务单<br>(YJ1503001)",left:67,top:71,type:"start",width:150,height:24},
			demo_node_2:{name:"轧机<br>(YJ1503001)",left:269,top:71,type:"node",width:150,height:24},
			demo_node_5:{name:"切边机<br>(YJ1503001)",left:480,top:71,type:"node",width:150,height:24},
			demo_node_6:{name:"切边机<br>(YJ1503001)",left:680,top:71,type:"fork",width:150,height:24},
			demo_node_7:{name:"切边机<br>(YJ1503001-A)",left:680,top:171,type:"node",width:150,height:24},
			demo_node_8:{name:"切边机<br>(YJ1503001-A)",left:480,top:171,type:"node",width:150,height:24}
		},
		lines:{
			demo_line_3:{type:"sl",from:"demo_node_1",to:"demo_node_2",name:"",marked:false},
			demo_line_6:{type:"sl",from:"demo_node_2",to:"demo_node_5",name:"",marked:false},
			demo_line_7:{type:"sl",from:"demo_node_5",to:"demo_node_6",name:"",marked:false},
			demo_line_8:{type:"sl",from:"demo_node_6",to:"demo_node_7",name:"",marked:false},
			demo_line_9:{type:"sl",from:"demo_node_7",to:"demo_node_8",name:"",marked:false}
		}
	};
	 * */
	public enum Type {  
			sl
		} 
	
	
	/**type*/
	private java.lang.String type;
	/**name*/
	private java.lang.String from;
	/**left*/
	private java.lang.String to;
	/**top*/
	private java.lang.String name;
	/**width*/
	private java.lang.Boolean marked;
	
	
	public java.lang.String getType() {
		return type;
	}
	public void setType(java.lang.String type) {
		this.type = type;
	}
	public java.lang.String getFrom() {
		return from;
	}
	public void setFrom(java.lang.String from) {
		this.from = from;
	}
	public java.lang.String getTo() {
		return to;
	}
	public void setTo(java.lang.String to) {
		this.to = to;
	}
	public java.lang.String getName() {
		return name;
	}
	public void setName(java.lang.String name) {
		this.name = name;
	}
	public java.lang.Boolean getMarked() {
		return marked;
	}
	public void setMarked(java.lang.Boolean marked) {
		this.marked = marked;
	}
	
	
	
	
}
